package com.xyyhome.common;

/**
 * 简化-Ajax请求的返回值
 * Created by ty850 on 2017/5/12.
 */
public class YAjaxResult {
    private boolean success = true;
    private String msg = YConstant.SUCCESS;
    private Object data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}

